//
//  ZXYCircleProgress.h
//  ZXYProgressView
//
//  Created by Mars on 2017/11/28.
//  Copyright © 2017年 赵向禹. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol ZXYCircleProgressDelegate <NSObject>
-(void)translateTimeToSubView:(NSInteger)time;
@end
@interface ZXYCircleProgress : UIView

/** 进度 */
@property (nonatomic, assign) CGFloat progress;
/** 底层颜色 */
@property (nonatomic, strong) UIColor *bottomColor;
/** 顶层颜色 */
@property (nonatomic, strong) UIColor *topColor;
/** 宽度 */
@property (nonatomic, assign) CGFloat progressWidth;
/** 时间起点 */
@property (nonatomic, assign) NSInteger startTime;

@property (nonatomic, assign) id<ZXYCircleProgressDelegate> delegate;

/** 初始化 */
- (instancetype)initWithFrame:(CGRect)frame progress:(CGFloat)progress;

-(void) stopTimer;

@end
